package com.ruoyi.biz.report.service.impl;

import java.util.List;
        import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.biz.report.mapper.BizReportConfigMapper;
import com.ruoyi.biz.report.domain.BizReportConfig;
import com.ruoyi.biz.report.service.IBizReportConfigService;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

/**
 * 报月Service业务层处理
 *
 * @author Fei.Cong
 * @date 2024-08-26
 */
@Service
public class BizReportConfigServiceImpl extends ServiceImpl<BizReportConfigMapper, BizReportConfig> implements IBizReportConfigService {

    @Autowired
    private BizReportConfigMapper bizReportConfigMapper;

    /**
     * 分页查询报月
     *
     * @param page
     * @param bizReportConfig 报月
     */
    @Override
    public IPage<BizReportConfig> pageList(BizReportConfig bizReportConfig, IPage<BizReportConfig> page) {
        return bizReportConfigMapper.selectPageList(page, bizReportConfig);
    }

    /**
     * 条件查询报月
     *
     * @param bizReportConfig 报月
     * @return
     */
    @Override
    public List<BizReportConfig> queryList(BizReportConfig bizReportConfig) {
        LambdaQueryWrapper<BizReportConfig> lambdaQueryWrapper = new LambdaQueryWrapper<>();
        return bizReportConfigMapper.selectList(lambdaQueryWrapper);
    }

}
